hvmloader: New functions mem_hole_alloc() and mem_hole_populate_ram().
authorKeir Fraser <keir@xen.org>
Sat, 23 Jul 2011 08:43:47 +0000 (09:43 +0100)
committerKeir Fraser <keir@xen.org>
Sat, 23 Jul 2011 08:43:47 +0000 (09:43 +0100)
commitdc21926aff31c26c2c291fe02ecf7c31e956a921
tree1013e0b0322dbb83b4aa5dd6a01b702b04be2956
parentb74ae3bf6395569694e77f98fef5eb9ea31d3229
hvmloader: New functions mem_hole_alloc() and mem_hole_populate_ram().

These can be used by BIOS-specific handlers to set up memory regions
as required by their firmware payload.

Use mem_hole_alloc() to allocate properly reserved space for the
shared-info-page mapping. The old location conflicts with space
required for the OVMF BIOS (support for which is work in progress).

Signed-off-by: Keir Fraser <keir@xen.org>
tools/firmware/hvmloader/util.c
tools/firmware/hvmloader/util.h